package com.demo.boss.server;

import com.demo.boss.models.dto.OperatorLoginDto;
import com.demo.boss.models.menus.SubMenu;
import com.demo.boss.models.request.OperatorLoginRequest;

import java.util.List;

public interface OperatorService {
    // 操作员 登录
    OperatorLoginDto login(OperatorLoginRequest loginRequest);

    /**
     * 首页菜单以及子菜单
     * @param operatorId
     * @return
     */
    List<SubMenu> queryMenusByOperatorId(Long operatorId);
}
